package csu.web.credit_bank.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

@TableName("resources")
@Data
public class Resource implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String id;

    private String title;
    private String publisherId;
    private Integer category;
    private String major;
    private String location; // 这个字段将用来存储OSS返回的URL
    private Integer difficulty;
    private Integer credit;
    private String coverImage;
}